package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_zs_project_join", desc = "招商-加入日志", autoSave = true, uploadCk = true)
public class LogZsProjectJoin extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "参与人", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "项目id")
    private long projectId;

    @FieldTypeAnnotation(desc = "称号等级")
    private int decorationLv;

    @FieldTypeAnnotation(desc = "身份等级")
    private int titleId;

    @FieldTypeAnnotation(desc = "招商类别")
    private int templateId;

    @FieldTypeAnnotation(desc = "项目开启玩家")
    private long openUserId;

    @FieldTypeAnnotation(desc = "位置")
    private int seatId;

    public LogZsProjectJoin(long userId, long projectId, int decorationLv, int titleId, int templateId, long openUserId, int seatId) {
        this.userId = userId;
        this.projectId = projectId;
        this.decorationLv = decorationLv;
        this.titleId = titleId;
        this.templateId = templateId;
        this.openUserId = openUserId;
        this.seatId = seatId;
    }

    public long getUserId() {
        return userId;
    }

}
